import Vue from 'vue'
import VueRouter from 'vue-router'
import HomePage from '../components/HomePage.vue'
import Company from '../components/Company.vue'
import Prudoct from '../components/Prudoct.vue'
import Cowhide from '../components/Cowhide.vue'
import AboutUs from '../components/AboutUs.vue'
import ContactUs from '../components/ContactUs.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/homePage'
  },
  {
    path: '/homePage',
    name: 'HomePage',
    component: HomePage
  },
  {
    path: '/company',
    name: 'Company',
    component: Company
  },
  {
    path: '/prudoct',
    name: 'Prudoct',
    component: Prudoct
  },
  {
    path: '/cowhide',
    name: 'Cowhide',
    component: Cowhide
  },
  {
    path: '/aboutUs',
    name: 'AboutUs',
    component: AboutUs
  },
  {
    path: '/contactUs',
    name: 'ContactUs',
    component: ContactUs
  }
]

const router = new VueRouter({
  routes
})

export default router
